package com.bootdo.program.shejiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.shejiao.dao.MemberUserDao;
import com.bootdo.program.shejiao.domain.MemberUserDO;
import com.bootdo.program.shejiao.service.MemberUserService;



@Service
public class MemberUserService{
	@Autowired
	private MemberUserDao memberUserDao;
	
	
	public MemberUserDO get(Long id){
		return memberUserDao.get(id);
	}

	public MemberUserDO getUserById(String userId){
		return memberUserDao.getUserById(userId);
	}
	
	
	public List<MemberUserDO> list(Map<String, Object> map){
		return memberUserDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return memberUserDao.count(map);
	}
	
	
	public int save(MemberUserDO memberUser){
		return memberUserDao.save(memberUser);
	}
	
	
	public int update(MemberUserDO memberUser){
		return memberUserDao.update(memberUser);
	}
	
	
	public int remove(Long id){
		return memberUserDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return memberUserDao.batchRemove(ids);
	}
	
}
